package com.base.service.impl;

import com.base.mapper.voipmapper.RebateInfoSaveMapper;
import com.base.po.voip.RebateInfoSave;
import com.base.po.voip.RebateInfoSaveExample;
import com.base.service.RebateInfoSaveService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("rebateInfoSaveService")
public class RebateInfoSaveServiceImpl implements RebateInfoSaveService {

	@Autowired
	private RebateInfoSaveMapper rebateInfoSaveMapper;


	@Override
	public int countByExample(RebateInfoSaveExample example) {
		return rebateInfoSaveMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(RebateInfoSaveExample example) {
		return rebateInfoSaveMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(Integer id) {
		return rebateInfoSaveMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(RebateInfoSave record) {
		return rebateInfoSaveMapper.insert(record);
	}

	@Override
	public int insertSelective(RebateInfoSave record) {
		return rebateInfoSaveMapper.insertSelective(record);
	}

	@Override
	public List<RebateInfoSave> selectByExample(RebateInfoSaveExample example) {
		return rebateInfoSaveMapper.selectByExample(example);
	}

	@Override
	public List<RebateInfoSave> selectByUserID(String userid) {
		return rebateInfoSaveMapper.selectByUserID(userid);
	}

	@Override
	public RebateInfoSave selectByPrimaryKey(Integer id) {
		return rebateInfoSaveMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(RebateInfoSave record, RebateInfoSaveExample example) {
		return rebateInfoSaveMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(RebateInfoSave record, RebateInfoSaveExample example) {
		return rebateInfoSaveMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(RebateInfoSave record) {
		return rebateInfoSaveMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(RebateInfoSave record) {
		return rebateInfoSaveMapper.updateByPrimaryKey(record);
	}
}
